package com.ray.auth.system.table.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OrganizationExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected int limitStart = -1;

    protected int limitEnd = -1;

    /**
     *
     */
    public OrganizationExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     *
     * @param orderByClause
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     *
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     *
     * @param distinct
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     *
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     *
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     *
     * @param criteria
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     *
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     *
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     *
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     *
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     *
     * @param limitStart
     */
    public void setLimitStart(int limitStart) {
        this.limitStart=limitStart;
    }

    /**
     *
     */
    public int getLimitStart() {
        return limitStart;
    }

    /**
     *
     * @param limitEnd
     */
    public void setLimitEnd(int limitEnd) {
        this.limitEnd=limitEnd;
    }

    /**
     *
     */
    public int getLimitEnd() {
        return limitEnd;
    }

    /**
     * 类注释
     * GeneratedCriteria
     * 数据库表：sys_organization
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOrgIdIsNull() {
            addCriterion("ORG_ID is null");
            return (Criteria) this;
        }

        public Criteria andOrgIdIsNotNull() {
            addCriterion("ORG_ID is not null");
            return (Criteria) this;
        }

        public Criteria andOrgIdEqualTo(String value) {
            addCriterion("ORG_ID =", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotEqualTo(String value) {
            addCriterion("ORG_ID <>", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdGreaterThan(String value) {
            addCriterion("ORG_ID >", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdGreaterThanOrEqualTo(String value) {
            addCriterion("ORG_ID >=", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdLessThan(String value) {
            addCriterion("ORG_ID <", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdLessThanOrEqualTo(String value) {
            addCriterion("ORG_ID <=", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdLike(String value) {
            addCriterion("ORG_ID like", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotLike(String value) {
            addCriterion("ORG_ID not like", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdIn(List<String> values) {
            addCriterion("ORG_ID in", values, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotIn(List<String> values) {
            addCriterion("ORG_ID not in", values, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdBetween(String value1, String value2) {
            addCriterion("ORG_ID between", value1, value2, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotBetween(String value1, String value2) {
            addCriterion("ORG_ID not between", value1, value2, "orgId");
            return (Criteria) this;
        }

        public Criteria andParentOrgIdIsNull() {
            addCriterion("PARENT_ORG_ID is null");
            return (Criteria) this;
        }

        public Criteria andParentOrgIdIsNotNull() {
            addCriterion("PARENT_ORG_ID is not null");
            return (Criteria) this;
        }

        public Criteria andParentOrgIdEqualTo(String value) {
            addCriterion("PARENT_ORG_ID =", value, "parentOrgId");
            return (Criteria) this;
        }

        public Criteria andParentOrgIdNotEqualTo(String value) {
            addCriterion("PARENT_ORG_ID <>", value, "parentOrgId");
            return (Criteria) this;
        }

        public Criteria andParentOrgIdGreaterThan(String value) {
            addCriterion("PARENT_ORG_ID >", value, "parentOrgId");
            return (Criteria) this;
        }

        public Criteria andParentOrgIdGreaterThanOrEqualTo(String value) {
            addCriterion("PARENT_ORG_ID >=", value, "parentOrgId");
            return (Criteria) this;
        }

        public Criteria andParentOrgIdLessThan(String value) {
            addCriterion("PARENT_ORG_ID <", value, "parentOrgId");
            return (Criteria) this;
        }

        public Criteria andParentOrgIdLessThanOrEqualTo(String value) {
            addCriterion("PARENT_ORG_ID <=", value, "parentOrgId");
            return (Criteria) this;
        }

        public Criteria andParentOrgIdLike(String value) {
            addCriterion("PARENT_ORG_ID like", value, "parentOrgId");
            return (Criteria) this;
        }

        public Criteria andParentOrgIdNotLike(String value) {
            addCriterion("PARENT_ORG_ID not like", value, "parentOrgId");
            return (Criteria) this;
        }

        public Criteria andParentOrgIdIn(List<String> values) {
            addCriterion("PARENT_ORG_ID in", values, "parentOrgId");
            return (Criteria) this;
        }

        public Criteria andParentOrgIdNotIn(List<String> values) {
            addCriterion("PARENT_ORG_ID not in", values, "parentOrgId");
            return (Criteria) this;
        }

        public Criteria andParentOrgIdBetween(String value1, String value2) {
            addCriterion("PARENT_ORG_ID between", value1, value2, "parentOrgId");
            return (Criteria) this;
        }

        public Criteria andParentOrgIdNotBetween(String value1, String value2) {
            addCriterion("PARENT_ORG_ID not between", value1, value2, "parentOrgId");
            return (Criteria) this;
        }

        public Criteria andOrgNameIsNull() {
            addCriterion("ORG_NAME is null");
            return (Criteria) this;
        }

        public Criteria andOrgNameIsNotNull() {
            addCriterion("ORG_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andOrgNameEqualTo(String value) {
            addCriterion("ORG_NAME =", value, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameNotEqualTo(String value) {
            addCriterion("ORG_NAME <>", value, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameGreaterThan(String value) {
            addCriterion("ORG_NAME >", value, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameGreaterThanOrEqualTo(String value) {
            addCriterion("ORG_NAME >=", value, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameLessThan(String value) {
            addCriterion("ORG_NAME <", value, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameLessThanOrEqualTo(String value) {
            addCriterion("ORG_NAME <=", value, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameLike(String value) {
            addCriterion("ORG_NAME like", value, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameNotLike(String value) {
            addCriterion("ORG_NAME not like", value, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameIn(List<String> values) {
            addCriterion("ORG_NAME in", values, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameNotIn(List<String> values) {
            addCriterion("ORG_NAME not in", values, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameBetween(String value1, String value2) {
            addCriterion("ORG_NAME between", value1, value2, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameNotBetween(String value1, String value2) {
            addCriterion("ORG_NAME not between", value1, value2, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgPhoneIsNull() {
            addCriterion("ORG_PHONE is null");
            return (Criteria) this;
        }

        public Criteria andOrgPhoneIsNotNull() {
            addCriterion("ORG_PHONE is not null");
            return (Criteria) this;
        }

        public Criteria andOrgPhoneEqualTo(String value) {
            addCriterion("ORG_PHONE =", value, "orgPhone");
            return (Criteria) this;
        }

        public Criteria andOrgPhoneNotEqualTo(String value) {
            addCriterion("ORG_PHONE <>", value, "orgPhone");
            return (Criteria) this;
        }

        public Criteria andOrgPhoneGreaterThan(String value) {
            addCriterion("ORG_PHONE >", value, "orgPhone");
            return (Criteria) this;
        }

        public Criteria andOrgPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("ORG_PHONE >=", value, "orgPhone");
            return (Criteria) this;
        }

        public Criteria andOrgPhoneLessThan(String value) {
            addCriterion("ORG_PHONE <", value, "orgPhone");
            return (Criteria) this;
        }

        public Criteria andOrgPhoneLessThanOrEqualTo(String value) {
            addCriterion("ORG_PHONE <=", value, "orgPhone");
            return (Criteria) this;
        }

        public Criteria andOrgPhoneLike(String value) {
            addCriterion("ORG_PHONE like", value, "orgPhone");
            return (Criteria) this;
        }

        public Criteria andOrgPhoneNotLike(String value) {
            addCriterion("ORG_PHONE not like", value, "orgPhone");
            return (Criteria) this;
        }

        public Criteria andOrgPhoneIn(List<String> values) {
            addCriterion("ORG_PHONE in", values, "orgPhone");
            return (Criteria) this;
        }

        public Criteria andOrgPhoneNotIn(List<String> values) {
            addCriterion("ORG_PHONE not in", values, "orgPhone");
            return (Criteria) this;
        }

        public Criteria andOrgPhoneBetween(String value1, String value2) {
            addCriterion("ORG_PHONE between", value1, value2, "orgPhone");
            return (Criteria) this;
        }

        public Criteria andOrgPhoneNotBetween(String value1, String value2) {
            addCriterion("ORG_PHONE not between", value1, value2, "orgPhone");
            return (Criteria) this;
        }

        public Criteria andOrgAddressIsNull() {
            addCriterion("ORG_ADDRESS is null");
            return (Criteria) this;
        }

        public Criteria andOrgAddressIsNotNull() {
            addCriterion("ORG_ADDRESS is not null");
            return (Criteria) this;
        }

        public Criteria andOrgAddressEqualTo(String value) {
            addCriterion("ORG_ADDRESS =", value, "orgAddress");
            return (Criteria) this;
        }

        public Criteria andOrgAddressNotEqualTo(String value) {
            addCriterion("ORG_ADDRESS <>", value, "orgAddress");
            return (Criteria) this;
        }

        public Criteria andOrgAddressGreaterThan(String value) {
            addCriterion("ORG_ADDRESS >", value, "orgAddress");
            return (Criteria) this;
        }

        public Criteria andOrgAddressGreaterThanOrEqualTo(String value) {
            addCriterion("ORG_ADDRESS >=", value, "orgAddress");
            return (Criteria) this;
        }

        public Criteria andOrgAddressLessThan(String value) {
            addCriterion("ORG_ADDRESS <", value, "orgAddress");
            return (Criteria) this;
        }

        public Criteria andOrgAddressLessThanOrEqualTo(String value) {
            addCriterion("ORG_ADDRESS <=", value, "orgAddress");
            return (Criteria) this;
        }

        public Criteria andOrgAddressLike(String value) {
            addCriterion("ORG_ADDRESS like", value, "orgAddress");
            return (Criteria) this;
        }

        public Criteria andOrgAddressNotLike(String value) {
            addCriterion("ORG_ADDRESS not like", value, "orgAddress");
            return (Criteria) this;
        }

        public Criteria andOrgAddressIn(List<String> values) {
            addCriterion("ORG_ADDRESS in", values, "orgAddress");
            return (Criteria) this;
        }

        public Criteria andOrgAddressNotIn(List<String> values) {
            addCriterion("ORG_ADDRESS not in", values, "orgAddress");
            return (Criteria) this;
        }

        public Criteria andOrgAddressBetween(String value1, String value2) {
            addCriterion("ORG_ADDRESS between", value1, value2, "orgAddress");
            return (Criteria) this;
        }

        public Criteria andOrgAddressNotBetween(String value1, String value2) {
            addCriterion("ORG_ADDRESS not between", value1, value2, "orgAddress");
            return (Criteria) this;
        }

        public Criteria andOrgManagerIsNull() {
            addCriterion("ORG_MANAGER is null");
            return (Criteria) this;
        }

        public Criteria andOrgManagerIsNotNull() {
            addCriterion("ORG_MANAGER is not null");
            return (Criteria) this;
        }

        public Criteria andOrgManagerEqualTo(String value) {
            addCriterion("ORG_MANAGER =", value, "orgManager");
            return (Criteria) this;
        }

        public Criteria andOrgManagerNotEqualTo(String value) {
            addCriterion("ORG_MANAGER <>", value, "orgManager");
            return (Criteria) this;
        }

        public Criteria andOrgManagerGreaterThan(String value) {
            addCriterion("ORG_MANAGER >", value, "orgManager");
            return (Criteria) this;
        }

        public Criteria andOrgManagerGreaterThanOrEqualTo(String value) {
            addCriterion("ORG_MANAGER >=", value, "orgManager");
            return (Criteria) this;
        }

        public Criteria andOrgManagerLessThan(String value) {
            addCriterion("ORG_MANAGER <", value, "orgManager");
            return (Criteria) this;
        }

        public Criteria andOrgManagerLessThanOrEqualTo(String value) {
            addCriterion("ORG_MANAGER <=", value, "orgManager");
            return (Criteria) this;
        }

        public Criteria andOrgManagerLike(String value) {
            addCriterion("ORG_MANAGER like", value, "orgManager");
            return (Criteria) this;
        }

        public Criteria andOrgManagerNotLike(String value) {
            addCriterion("ORG_MANAGER not like", value, "orgManager");
            return (Criteria) this;
        }

        public Criteria andOrgManagerIn(List<String> values) {
            addCriterion("ORG_MANAGER in", values, "orgManager");
            return (Criteria) this;
        }

        public Criteria andOrgManagerNotIn(List<String> values) {
            addCriterion("ORG_MANAGER not in", values, "orgManager");
            return (Criteria) this;
        }

        public Criteria andOrgManagerBetween(String value1, String value2) {
            addCriterion("ORG_MANAGER between", value1, value2, "orgManager");
            return (Criteria) this;
        }

        public Criteria andOrgManagerNotBetween(String value1, String value2) {
            addCriterion("ORG_MANAGER not between", value1, value2, "orgManager");
            return (Criteria) this;
        }

        public Criteria andOrgTypeIsNull() {
            addCriterion("ORG_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andOrgTypeIsNotNull() {
            addCriterion("ORG_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andOrgTypeEqualTo(String value) {
            addCriterion("ORG_TYPE =", value, "orgType");
            return (Criteria) this;
        }

        public Criteria andOrgTypeNotEqualTo(String value) {
            addCriterion("ORG_TYPE <>", value, "orgType");
            return (Criteria) this;
        }

        public Criteria andOrgTypeGreaterThan(String value) {
            addCriterion("ORG_TYPE >", value, "orgType");
            return (Criteria) this;
        }

        public Criteria andOrgTypeGreaterThanOrEqualTo(String value) {
            addCriterion("ORG_TYPE >=", value, "orgType");
            return (Criteria) this;
        }

        public Criteria andOrgTypeLessThan(String value) {
            addCriterion("ORG_TYPE <", value, "orgType");
            return (Criteria) this;
        }

        public Criteria andOrgTypeLessThanOrEqualTo(String value) {
            addCriterion("ORG_TYPE <=", value, "orgType");
            return (Criteria) this;
        }

        public Criteria andOrgTypeLike(String value) {
            addCriterion("ORG_TYPE like", value, "orgType");
            return (Criteria) this;
        }

        public Criteria andOrgTypeNotLike(String value) {
            addCriterion("ORG_TYPE not like", value, "orgType");
            return (Criteria) this;
        }

        public Criteria andOrgTypeIn(List<String> values) {
            addCriterion("ORG_TYPE in", values, "orgType");
            return (Criteria) this;
        }

        public Criteria andOrgTypeNotIn(List<String> values) {
            addCriterion("ORG_TYPE not in", values, "orgType");
            return (Criteria) this;
        }

        public Criteria andOrgTypeBetween(String value1, String value2) {
            addCriterion("ORG_TYPE between", value1, value2, "orgType");
            return (Criteria) this;
        }

        public Criteria andOrgTypeNotBetween(String value1, String value2) {
            addCriterion("ORG_TYPE not between", value1, value2, "orgType");
            return (Criteria) this;
        }

        public Criteria andOrgAttrIsNull() {
            addCriterion("ORG_ATTR is null");
            return (Criteria) this;
        }

        public Criteria andOrgAttrIsNotNull() {
            addCriterion("ORG_ATTR is not null");
            return (Criteria) this;
        }

        public Criteria andOrgAttrEqualTo(String value) {
            addCriterion("ORG_ATTR =", value, "orgAttr");
            return (Criteria) this;
        }

        public Criteria andOrgAttrNotEqualTo(String value) {
            addCriterion("ORG_ATTR <>", value, "orgAttr");
            return (Criteria) this;
        }

        public Criteria andOrgAttrGreaterThan(String value) {
            addCriterion("ORG_ATTR >", value, "orgAttr");
            return (Criteria) this;
        }

        public Criteria andOrgAttrGreaterThanOrEqualTo(String value) {
            addCriterion("ORG_ATTR >=", value, "orgAttr");
            return (Criteria) this;
        }

        public Criteria andOrgAttrLessThan(String value) {
            addCriterion("ORG_ATTR <", value, "orgAttr");
            return (Criteria) this;
        }

        public Criteria andOrgAttrLessThanOrEqualTo(String value) {
            addCriterion("ORG_ATTR <=", value, "orgAttr");
            return (Criteria) this;
        }

        public Criteria andOrgAttrLike(String value) {
            addCriterion("ORG_ATTR like", value, "orgAttr");
            return (Criteria) this;
        }

        public Criteria andOrgAttrNotLike(String value) {
            addCriterion("ORG_ATTR not like", value, "orgAttr");
            return (Criteria) this;
        }

        public Criteria andOrgAttrIn(List<String> values) {
            addCriterion("ORG_ATTR in", values, "orgAttr");
            return (Criteria) this;
        }

        public Criteria andOrgAttrNotIn(List<String> values) {
            addCriterion("ORG_ATTR not in", values, "orgAttr");
            return (Criteria) this;
        }

        public Criteria andOrgAttrBetween(String value1, String value2) {
            addCriterion("ORG_ATTR between", value1, value2, "orgAttr");
            return (Criteria) this;
        }

        public Criteria andOrgAttrNotBetween(String value1, String value2) {
            addCriterion("ORG_ATTR not between", value1, value2, "orgAttr");
            return (Criteria) this;
        }

        public Criteria andOrgManagerPhoneIsNull() {
            addCriterion("ORG_MANAGER_PHONE is null");
            return (Criteria) this;
        }

        public Criteria andOrgManagerPhoneIsNotNull() {
            addCriterion("ORG_MANAGER_PHONE is not null");
            return (Criteria) this;
        }

        public Criteria andOrgManagerPhoneEqualTo(String value) {
            addCriterion("ORG_MANAGER_PHONE =", value, "orgManagerPhone");
            return (Criteria) this;
        }

        public Criteria andOrgManagerPhoneNotEqualTo(String value) {
            addCriterion("ORG_MANAGER_PHONE <>", value, "orgManagerPhone");
            return (Criteria) this;
        }

        public Criteria andOrgManagerPhoneGreaterThan(String value) {
            addCriterion("ORG_MANAGER_PHONE >", value, "orgManagerPhone");
            return (Criteria) this;
        }

        public Criteria andOrgManagerPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("ORG_MANAGER_PHONE >=", value, "orgManagerPhone");
            return (Criteria) this;
        }

        public Criteria andOrgManagerPhoneLessThan(String value) {
            addCriterion("ORG_MANAGER_PHONE <", value, "orgManagerPhone");
            return (Criteria) this;
        }

        public Criteria andOrgManagerPhoneLessThanOrEqualTo(String value) {
            addCriterion("ORG_MANAGER_PHONE <=", value, "orgManagerPhone");
            return (Criteria) this;
        }

        public Criteria andOrgManagerPhoneLike(String value) {
            addCriterion("ORG_MANAGER_PHONE like", value, "orgManagerPhone");
            return (Criteria) this;
        }

        public Criteria andOrgManagerPhoneNotLike(String value) {
            addCriterion("ORG_MANAGER_PHONE not like", value, "orgManagerPhone");
            return (Criteria) this;
        }

        public Criteria andOrgManagerPhoneIn(List<String> values) {
            addCriterion("ORG_MANAGER_PHONE in", values, "orgManagerPhone");
            return (Criteria) this;
        }

        public Criteria andOrgManagerPhoneNotIn(List<String> values) {
            addCriterion("ORG_MANAGER_PHONE not in", values, "orgManagerPhone");
            return (Criteria) this;
        }

        public Criteria andOrgManagerPhoneBetween(String value1, String value2) {
            addCriterion("ORG_MANAGER_PHONE between", value1, value2, "orgManagerPhone");
            return (Criteria) this;
        }

        public Criteria andOrgManagerPhoneNotBetween(String value1, String value2) {
            addCriterion("ORG_MANAGER_PHONE not between", value1, value2, "orgManagerPhone");
            return (Criteria) this;
        }

        public Criteria andOrgDescIsNull() {
            addCriterion("ORG_DESC is null");
            return (Criteria) this;
        }

        public Criteria andOrgDescIsNotNull() {
            addCriterion("ORG_DESC is not null");
            return (Criteria) this;
        }

        public Criteria andOrgDescEqualTo(String value) {
            addCriterion("ORG_DESC =", value, "orgDesc");
            return (Criteria) this;
        }

        public Criteria andOrgDescNotEqualTo(String value) {
            addCriterion("ORG_DESC <>", value, "orgDesc");
            return (Criteria) this;
        }

        public Criteria andOrgDescGreaterThan(String value) {
            addCriterion("ORG_DESC >", value, "orgDesc");
            return (Criteria) this;
        }

        public Criteria andOrgDescGreaterThanOrEqualTo(String value) {
            addCriterion("ORG_DESC >=", value, "orgDesc");
            return (Criteria) this;
        }

        public Criteria andOrgDescLessThan(String value) {
            addCriterion("ORG_DESC <", value, "orgDesc");
            return (Criteria) this;
        }

        public Criteria andOrgDescLessThanOrEqualTo(String value) {
            addCriterion("ORG_DESC <=", value, "orgDesc");
            return (Criteria) this;
        }

        public Criteria andOrgDescLike(String value) {
            addCriterion("ORG_DESC like", value, "orgDesc");
            return (Criteria) this;
        }

        public Criteria andOrgDescNotLike(String value) {
            addCriterion("ORG_DESC not like", value, "orgDesc");
            return (Criteria) this;
        }

        public Criteria andOrgDescIn(List<String> values) {
            addCriterion("ORG_DESC in", values, "orgDesc");
            return (Criteria) this;
        }

        public Criteria andOrgDescNotIn(List<String> values) {
            addCriterion("ORG_DESC not in", values, "orgDesc");
            return (Criteria) this;
        }

        public Criteria andOrgDescBetween(String value1, String value2) {
            addCriterion("ORG_DESC between", value1, value2, "orgDesc");
            return (Criteria) this;
        }

        public Criteria andOrgDescNotBetween(String value1, String value2) {
            addCriterion("ORG_DESC not between", value1, value2, "orgDesc");
            return (Criteria) this;
        }

        public Criteria andIndexSortIsNull() {
            addCriterion("INDEX_SORT is null");
            return (Criteria) this;
        }

        public Criteria andIndexSortIsNotNull() {
            addCriterion("INDEX_SORT is not null");
            return (Criteria) this;
        }

        public Criteria andIndexSortEqualTo(Integer value) {
            addCriterion("INDEX_SORT =", value, "indexSort");
            return (Criteria) this;
        }

        public Criteria andIndexSortNotEqualTo(Integer value) {
            addCriterion("INDEX_SORT <>", value, "indexSort");
            return (Criteria) this;
        }

        public Criteria andIndexSortGreaterThan(Integer value) {
            addCriterion("INDEX_SORT >", value, "indexSort");
            return (Criteria) this;
        }

        public Criteria andIndexSortGreaterThanOrEqualTo(Integer value) {
            addCriterion("INDEX_SORT >=", value, "indexSort");
            return (Criteria) this;
        }

        public Criteria andIndexSortLessThan(Integer value) {
            addCriterion("INDEX_SORT <", value, "indexSort");
            return (Criteria) this;
        }

        public Criteria andIndexSortLessThanOrEqualTo(Integer value) {
            addCriterion("INDEX_SORT <=", value, "indexSort");
            return (Criteria) this;
        }

        public Criteria andIndexSortIn(List<Integer> values) {
            addCriterion("INDEX_SORT in", values, "indexSort");
            return (Criteria) this;
        }

        public Criteria andIndexSortNotIn(List<Integer> values) {
            addCriterion("INDEX_SORT not in", values, "indexSort");
            return (Criteria) this;
        }

        public Criteria andIndexSortBetween(Integer value1, Integer value2) {
            addCriterion("INDEX_SORT between", value1, value2, "indexSort");
            return (Criteria) this;
        }

        public Criteria andIndexSortNotBetween(Integer value1, Integer value2) {
            addCriterion("INDEX_SORT not between", value1, value2, "indexSort");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("CREATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CREATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("CREATE_TIME =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("CREATE_TIME <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("CREATE_TIME >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("CREATE_TIME <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("CREATE_TIME in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("CREATE_TIME not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateByOrgIsNull() {
            addCriterion("CREATE_BY_ORG is null");
            return (Criteria) this;
        }

        public Criteria andCreateByOrgIsNotNull() {
            addCriterion("CREATE_BY_ORG is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByOrgEqualTo(String value) {
            addCriterion("CREATE_BY_ORG =", value, "createByOrg");
            return (Criteria) this;
        }

        public Criteria andCreateByOrgNotEqualTo(String value) {
            addCriterion("CREATE_BY_ORG <>", value, "createByOrg");
            return (Criteria) this;
        }

        public Criteria andCreateByOrgGreaterThan(String value) {
            addCriterion("CREATE_BY_ORG >", value, "createByOrg");
            return (Criteria) this;
        }

        public Criteria andCreateByOrgGreaterThanOrEqualTo(String value) {
            addCriterion("CREATE_BY_ORG >=", value, "createByOrg");
            return (Criteria) this;
        }

        public Criteria andCreateByOrgLessThan(String value) {
            addCriterion("CREATE_BY_ORG <", value, "createByOrg");
            return (Criteria) this;
        }

        public Criteria andCreateByOrgLessThanOrEqualTo(String value) {
            addCriterion("CREATE_BY_ORG <=", value, "createByOrg");
            return (Criteria) this;
        }

        public Criteria andCreateByOrgLike(String value) {
            addCriterion("CREATE_BY_ORG like", value, "createByOrg");
            return (Criteria) this;
        }

        public Criteria andCreateByOrgNotLike(String value) {
            addCriterion("CREATE_BY_ORG not like", value, "createByOrg");
            return (Criteria) this;
        }

        public Criteria andCreateByOrgIn(List<String> values) {
            addCriterion("CREATE_BY_ORG in", values, "createByOrg");
            return (Criteria) this;
        }

        public Criteria andCreateByOrgNotIn(List<String> values) {
            addCriterion("CREATE_BY_ORG not in", values, "createByOrg");
            return (Criteria) this;
        }

        public Criteria andCreateByOrgBetween(String value1, String value2) {
            addCriterion("CREATE_BY_ORG between", value1, value2, "createByOrg");
            return (Criteria) this;
        }

        public Criteria andCreateByOrgNotBetween(String value1, String value2) {
            addCriterion("CREATE_BY_ORG not between", value1, value2, "createByOrg");
            return (Criteria) this;
        }

        public Criteria andCreateByUserIsNull() {
            addCriterion("CREATE_BY_USER is null");
            return (Criteria) this;
        }

        public Criteria andCreateByUserIsNotNull() {
            addCriterion("CREATE_BY_USER is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByUserEqualTo(String value) {
            addCriterion("CREATE_BY_USER =", value, "createByUser");
            return (Criteria) this;
        }

        public Criteria andCreateByUserNotEqualTo(String value) {
            addCriterion("CREATE_BY_USER <>", value, "createByUser");
            return (Criteria) this;
        }

        public Criteria andCreateByUserGreaterThan(String value) {
            addCriterion("CREATE_BY_USER >", value, "createByUser");
            return (Criteria) this;
        }

        public Criteria andCreateByUserGreaterThanOrEqualTo(String value) {
            addCriterion("CREATE_BY_USER >=", value, "createByUser");
            return (Criteria) this;
        }

        public Criteria andCreateByUserLessThan(String value) {
            addCriterion("CREATE_BY_USER <", value, "createByUser");
            return (Criteria) this;
        }

        public Criteria andCreateByUserLessThanOrEqualTo(String value) {
            addCriterion("CREATE_BY_USER <=", value, "createByUser");
            return (Criteria) this;
        }

        public Criteria andCreateByUserLike(String value) {
            addCriterion("CREATE_BY_USER like", value, "createByUser");
            return (Criteria) this;
        }

        public Criteria andCreateByUserNotLike(String value) {
            addCriterion("CREATE_BY_USER not like", value, "createByUser");
            return (Criteria) this;
        }

        public Criteria andCreateByUserIn(List<String> values) {
            addCriterion("CREATE_BY_USER in", values, "createByUser");
            return (Criteria) this;
        }

        public Criteria andCreateByUserNotIn(List<String> values) {
            addCriterion("CREATE_BY_USER not in", values, "createByUser");
            return (Criteria) this;
        }

        public Criteria andCreateByUserBetween(String value1, String value2) {
            addCriterion("CREATE_BY_USER between", value1, value2, "createByUser");
            return (Criteria) this;
        }

        public Criteria andCreateByUserNotBetween(String value1, String value2) {
            addCriterion("CREATE_BY_USER not between", value1, value2, "createByUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("UPDATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("UPDATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("UPDATE_TIME =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("UPDATE_TIME <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("UPDATE_TIME >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("UPDATE_TIME <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("UPDATE_TIME in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("UPDATE_TIME not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateByOrgIsNull() {
            addCriterion("UPDATE_BY_ORG is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByOrgIsNotNull() {
            addCriterion("UPDATE_BY_ORG is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByOrgEqualTo(String value) {
            addCriterion("UPDATE_BY_ORG =", value, "updateByOrg");
            return (Criteria) this;
        }

        public Criteria andUpdateByOrgNotEqualTo(String value) {
            addCriterion("UPDATE_BY_ORG <>", value, "updateByOrg");
            return (Criteria) this;
        }

        public Criteria andUpdateByOrgGreaterThan(String value) {
            addCriterion("UPDATE_BY_ORG >", value, "updateByOrg");
            return (Criteria) this;
        }

        public Criteria andUpdateByOrgGreaterThanOrEqualTo(String value) {
            addCriterion("UPDATE_BY_ORG >=", value, "updateByOrg");
            return (Criteria) this;
        }

        public Criteria andUpdateByOrgLessThan(String value) {
            addCriterion("UPDATE_BY_ORG <", value, "updateByOrg");
            return (Criteria) this;
        }

        public Criteria andUpdateByOrgLessThanOrEqualTo(String value) {
            addCriterion("UPDATE_BY_ORG <=", value, "updateByOrg");
            return (Criteria) this;
        }

        public Criteria andUpdateByOrgLike(String value) {
            addCriterion("UPDATE_BY_ORG like", value, "updateByOrg");
            return (Criteria) this;
        }

        public Criteria andUpdateByOrgNotLike(String value) {
            addCriterion("UPDATE_BY_ORG not like", value, "updateByOrg");
            return (Criteria) this;
        }

        public Criteria andUpdateByOrgIn(List<String> values) {
            addCriterion("UPDATE_BY_ORG in", values, "updateByOrg");
            return (Criteria) this;
        }

        public Criteria andUpdateByOrgNotIn(List<String> values) {
            addCriterion("UPDATE_BY_ORG not in", values, "updateByOrg");
            return (Criteria) this;
        }

        public Criteria andUpdateByOrgBetween(String value1, String value2) {
            addCriterion("UPDATE_BY_ORG between", value1, value2, "updateByOrg");
            return (Criteria) this;
        }

        public Criteria andUpdateByOrgNotBetween(String value1, String value2) {
            addCriterion("UPDATE_BY_ORG not between", value1, value2, "updateByOrg");
            return (Criteria) this;
        }

        public Criteria andUpdateByUserIsNull() {
            addCriterion("UPDATE_BY_USER is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByUserIsNotNull() {
            addCriterion("UPDATE_BY_USER is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByUserEqualTo(String value) {
            addCriterion("UPDATE_BY_USER =", value, "updateByUser");
            return (Criteria) this;
        }

        public Criteria andUpdateByUserNotEqualTo(String value) {
            addCriterion("UPDATE_BY_USER <>", value, "updateByUser");
            return (Criteria) this;
        }

        public Criteria andUpdateByUserGreaterThan(String value) {
            addCriterion("UPDATE_BY_USER >", value, "updateByUser");
            return (Criteria) this;
        }

        public Criteria andUpdateByUserGreaterThanOrEqualTo(String value) {
            addCriterion("UPDATE_BY_USER >=", value, "updateByUser");
            return (Criteria) this;
        }

        public Criteria andUpdateByUserLessThan(String value) {
            addCriterion("UPDATE_BY_USER <", value, "updateByUser");
            return (Criteria) this;
        }

        public Criteria andUpdateByUserLessThanOrEqualTo(String value) {
            addCriterion("UPDATE_BY_USER <=", value, "updateByUser");
            return (Criteria) this;
        }

        public Criteria andUpdateByUserLike(String value) {
            addCriterion("UPDATE_BY_USER like", value, "updateByUser");
            return (Criteria) this;
        }

        public Criteria andUpdateByUserNotLike(String value) {
            addCriterion("UPDATE_BY_USER not like", value, "updateByUser");
            return (Criteria) this;
        }

        public Criteria andUpdateByUserIn(List<String> values) {
            addCriterion("UPDATE_BY_USER in", values, "updateByUser");
            return (Criteria) this;
        }

        public Criteria andUpdateByUserNotIn(List<String> values) {
            addCriterion("UPDATE_BY_USER not in", values, "updateByUser");
            return (Criteria) this;
        }

        public Criteria andUpdateByUserBetween(String value1, String value2) {
            addCriterion("UPDATE_BY_USER between", value1, value2, "updateByUser");
            return (Criteria) this;
        }

        public Criteria andUpdateByUserNotBetween(String value1, String value2) {
            addCriterion("UPDATE_BY_USER not between", value1, value2, "updateByUser");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNull() {
            addCriterion("IS_DELETE is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNotNull() {
            addCriterion("IS_DELETE is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteEqualTo(String value) {
            addCriterion("IS_DELETE =", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotEqualTo(String value) {
            addCriterion("IS_DELETE <>", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThan(String value) {
            addCriterion("IS_DELETE >", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThanOrEqualTo(String value) {
            addCriterion("IS_DELETE >=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThan(String value) {
            addCriterion("IS_DELETE <", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThanOrEqualTo(String value) {
            addCriterion("IS_DELETE <=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLike(String value) {
            addCriterion("IS_DELETE like", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotLike(String value) {
            addCriterion("IS_DELETE not like", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIn(List<String> values) {
            addCriterion("IS_DELETE in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotIn(List<String> values) {
            addCriterion("IS_DELETE not in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteBetween(String value1, String value2) {
            addCriterion("IS_DELETE between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotBetween(String value1, String value2) {
            addCriterion("IS_DELETE not between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andTenantIdIsNull() {
            addCriterion("TENANT_ID is null");
            return (Criteria) this;
        }

        public Criteria andTenantIdIsNotNull() {
            addCriterion("TENANT_ID is not null");
            return (Criteria) this;
        }

        public Criteria andTenantIdEqualTo(String value) {
            addCriterion("TENANT_ID =", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdNotEqualTo(String value) {
            addCriterion("TENANT_ID <>", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdGreaterThan(String value) {
            addCriterion("TENANT_ID >", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdGreaterThanOrEqualTo(String value) {
            addCriterion("TENANT_ID >=", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdLessThan(String value) {
            addCriterion("TENANT_ID <", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdLessThanOrEqualTo(String value) {
            addCriterion("TENANT_ID <=", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdLike(String value) {
            addCriterion("TENANT_ID like", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdNotLike(String value) {
            addCriterion("TENANT_ID not like", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdIn(List<String> values) {
            addCriterion("TENANT_ID in", values, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdNotIn(List<String> values) {
            addCriterion("TENANT_ID not in", values, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdBetween(String value1, String value2) {
            addCriterion("TENANT_ID between", value1, value2, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdNotBetween(String value1, String value2) {
            addCriterion("TENANT_ID not between", value1, value2, "tenantId");
            return (Criteria) this;
        }

        public Criteria andOrgIdLikeInsensitive(String value) {
            addCriterion("upper(ORG_ID) like", value.toUpperCase(), "orgId");
            return (Criteria) this;
        }

        public Criteria andParentOrgIdLikeInsensitive(String value) {
            addCriterion("upper(PARENT_ORG_ID) like", value.toUpperCase(), "parentOrgId");
            return (Criteria) this;
        }

        public Criteria andOrgNameLikeInsensitive(String value) {
            addCriterion("upper(ORG_NAME) like", value.toUpperCase(), "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgPhoneLikeInsensitive(String value) {
            addCriterion("upper(ORG_PHONE) like", value.toUpperCase(), "orgPhone");
            return (Criteria) this;
        }

        public Criteria andOrgAddressLikeInsensitive(String value) {
            addCriterion("upper(ORG_ADDRESS) like", value.toUpperCase(), "orgAddress");
            return (Criteria) this;
        }

        public Criteria andOrgManagerLikeInsensitive(String value) {
            addCriterion("upper(ORG_MANAGER) like", value.toUpperCase(), "orgManager");
            return (Criteria) this;
        }

        public Criteria andOrgTypeLikeInsensitive(String value) {
            addCriterion("upper(ORG_TYPE) like", value.toUpperCase(), "orgType");
            return (Criteria) this;
        }

        public Criteria andOrgAttrLikeInsensitive(String value) {
            addCriterion("upper(ORG_ATTR) like", value.toUpperCase(), "orgAttr");
            return (Criteria) this;
        }

        public Criteria andOrgManagerPhoneLikeInsensitive(String value) {
            addCriterion("upper(ORG_MANAGER_PHONE) like", value.toUpperCase(), "orgManagerPhone");
            return (Criteria) this;
        }

        public Criteria andOrgDescLikeInsensitive(String value) {
            addCriterion("upper(ORG_DESC) like", value.toUpperCase(), "orgDesc");
            return (Criteria) this;
        }

        public Criteria andCreateByOrgLikeInsensitive(String value) {
            addCriterion("upper(CREATE_BY_ORG) like", value.toUpperCase(), "createByOrg");
            return (Criteria) this;
        }

        public Criteria andCreateByUserLikeInsensitive(String value) {
            addCriterion("upper(CREATE_BY_USER) like", value.toUpperCase(), "createByUser");
            return (Criteria) this;
        }

        public Criteria andUpdateByOrgLikeInsensitive(String value) {
            addCriterion("upper(UPDATE_BY_ORG) like", value.toUpperCase(), "updateByOrg");
            return (Criteria) this;
        }

        public Criteria andUpdateByUserLikeInsensitive(String value) {
            addCriterion("upper(UPDATE_BY_USER) like", value.toUpperCase(), "updateByUser");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLikeInsensitive(String value) {
            addCriterion("upper(IS_DELETE) like", value.toUpperCase(), "isDelete");
            return (Criteria) this;
        }

        public Criteria andTenantIdLikeInsensitive(String value) {
            addCriterion("upper(TENANT_ID) like", value.toUpperCase(), "tenantId");
            return (Criteria) this;
        }
    }

    /**
     * 类注释
     * Criteria
     * 数据库表：sys_organization
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * 类注释
     * Criterion
     * 数据库表：sys_organization
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}